Route119_MapScripts:: @ 8151167
	map_script 5, Route119_MapScript1_151172
	map_script 3, Route119_MapScript1_15119B
	.byte 0

Route119_MapScript1_151172:: @ 8151172
	call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_15117C
	end

Route119_EventScript_15117C:: @ 815117C
	compare VAR_0x8004, 6
	call_if_eq Route119_EventScript_151193
	compare VAR_0x8004, 7
	call_if_eq Route119_EventScript_151197
	return

Route119_EventScript_151193:: @ 8151193
	removeobject 35
	return

Route119_EventScript_151197:: @ 8151197
	removeobject 36
	return

Route119_MapScript1_15119B:: @ 815119B
	call Route119_EventScript_1A014E
	call Route119_EventScript_1A0172
	call Route119_EventScript_1A0196
	compare VAR_WEATHER_INSTITUTE_STATE, 1
	call_if_eq Route119_EventScript_1511B9
	special SetRoute119Weather
	end

Route119_EventScript_1511B9:: @ 81511B9
	setflag FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_2F
	clearflag FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_1F
	setvar VAR_WEATHER_INSTITUTE_STATE, 2
	return

Route119_EventScript_1511C5:: @ 81511C5
	setvar VAR_TEMP_1, 1
	goto Route119_EventScript_1511DB
	end

Route119_EventScript_1511D0:: @ 81511D0
	setvar VAR_TEMP_1, 2
	goto Route119_EventScript_1511DB
	end

Route119_EventScript_1511DB:: @ 81511DB
	lockall
	addobject 25
	checkplayergender
	compare VAR_RESULT, 0
	call_if_eq Route119_EventScript_151254
	compare VAR_RESULT, 1
	call_if_eq Route119_EventScript_151259
	delay 65
	compare VAR_TEMP_1, 1
	call_if_eq Route119_EventScript_1513A6
	compare VAR_TEMP_1, 2
	call_if_eq Route119_EventScript_1513B1
	applymovement 255, Route119_Movement_1A0845
	waitmovement 0
	delay 30
	compare VAR_TEMP_1, 1
	call_if_eq Route119_EventScript_1513D2
	compare VAR_TEMP_1, 2
	call_if_eq Route119_EventScript_1513E1
	removeobject 25
	addobject 16
	delay 30
	checkplayergender
	compare VAR_RESULT, 0
	goto_if_eq Route119_EventScript_15125E
	compare VAR_RESULT, 1
	goto_if_eq Route119_EventScript_1512D8
	releaseall
	end

Route119_EventScript_151254:: @ 8151254
	playbgm MUS_GIRL_SUP, TRUE
	return

Route119_EventScript_151259:: @ 8151259
	playbgm MUS_BOY_SUP, TRUE
	return

Route119_EventScript_15125E:: @ 815125E
	msgbox Route119_Text_1710BB, 4
	switch VAR_STARTER_MON
	case 0, Route119_EventScript_15128D
	case 1, Route119_EventScript_15129D
	case 2, Route119_EventScript_1512AD
	end

Route119_EventScript_15128D:: @ 815128D
	trainerbattle 3, TRAINER_MAY_6, 0, Route119_Text_171156
	goto Route119_EventScript_1512BD
	end

Route119_EventScript_15129D:: @ 815129D
	trainerbattle 3, TRAINER_MAY_9, 0, Route119_Text_171156
	goto Route119_EventScript_1512BD
	end

Route119_EventScript_1512AD:: @ 81512AD
	trainerbattle 3, TRAINER_MAY_3, 0, Route119_Text_171156
	goto Route119_EventScript_1512BD
	end

Route119_EventScript_1512BD:: @ 81512BD
	msgbox Route119_Text_1711B1, 4
	call Route119_EventScript_151352
	msgbox Route119_Text_171214, 4
	goto Route119_EventScript_151362
	end

Route119_EventScript_1512D8:: @ 81512D8
	msgbox Route119_Text_171358, 4
	switch VAR_STARTER_MON
	case 0, Route119_EventScript_151307
	case 1, Route119_EventScript_151317
	case 2, Route119_EventScript_151327
	end

Route119_EventScript_151307:: @ 8151307
	trainerbattle 3, TRAINER_BRENDAN_6, 0, Route119_Text_1713E2
	goto Route119_EventScript_151337
	end

Route119_EventScript_151317:: @ 8151317
	trainerbattle 3, TRAINER_BRENDAN_9, 0, Route119_Text_1713E2
	goto Route119_EventScript_151337
	end

Route119_EventScript_151327:: @ 8151327
	trainerbattle 3, TRAINER_BRENDAN_3, 0, Route119_Text_1713E2
	goto Route119_EventScript_151337
	end

Route119_EventScript_151337:: @ 8151337
	msgbox Route119_Text_17140B, 4
	call Route119_EventScript_151352
	msgbox Route119_Text_171475, 4
	goto Route119_EventScript_151362
	end

Route119_EventScript_151352:: @ 8151352
	giveitem_std ITEM_HM02_FLY
	setflag FLAG_RECEIVED_HM02
	return

Route119_EventScript_151362:: @ 8151362
	closemessage
	compare VAR_TEMP_1, 1
	call_if_eq Route119_EventScript_1513D2
	compare VAR_TEMP_1, 2
	call_if_eq Route119_EventScript_1513E1
	removeobject 16
	addobject 25
	delay 30
	compare VAR_TEMP_1, 1
	call_if_eq Route119_EventScript_1513BC
	compare VAR_TEMP_1, 2
	call_if_eq Route119_EventScript_1513C7
	removeobject 25
	setvar VAR_ROUTE119_STATE, 1
	savebgm 0
	fadedefaultbgm
	releaseall
	end

Route119_EventScript_1513A6:: @ 81513A6
	applymovement 25, Route119_Movement_1513F0
	waitmovement 0
	return

Route119_EventScript_1513B1:: @ 81513B1
	applymovement 25, Route119_Movement_1513FA
	waitmovement 0
	return

Route119_EventScript_1513BC:: @ 81513BC
	applymovement 25, Route119_Movement_151405
	waitmovement 0
	return

Route119_EventScript_1513C7:: @ 81513C7
	applymovement 25, Route119_Movement_15140F
	waitmovement 0
	return

Route119_EventScript_1513D2:: @ 81513D2
	setobjectxyperm 16, 25, 32
	setobjectxyperm 25, 25, 32
	return

Route119_EventScript_1513E1:: @ 81513E1
	setobjectxyperm 16, 26, 32
	setobjectxyperm 25, 26, 32
	return

Route119_Movement_1513F0:: @ 81513F0
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_up
	end_movement

Route119_Movement_1513FA:: @ 81513FA
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_right
	walk_fast_up
	end_movement

Route119_Movement_151405:: @ 8151405
	walk_fast_right
	walk_fast_up
	walk_fast_up
	walk_fast_up
	walk_fast_right
	walk_fast_up
	walk_fast_up
	walk_fast_up
	walk_fast_up
	end_movement

Route119_Movement_15140F:: @ 815140F
	walk_fast_left
	walk_fast_up
	walk_fast_up
	walk_fast_up
	walk_fast_right
	walk_fast_right
	walk_fast_up
	walk_fast_up
	walk_fast_up
	walk_fast_up
	end_movement

Route119_EventScript_15141A:: @ 815141A
	msgbox Route119_Text_171698, 2
	end

Route119_EventScript_151423:: @ 8151423
	msgbox Route119_Text_171749, 3
	end

Route119_EventScript_15142C:: @ 815142C
	msgbox Route119_Text_171762, 3
	end

Route119_EventScript_151435:: @ 8151435
	trainerbattle 0, TRAINER_BRENT, 0, Route119_Text_1BE521, Route119_Text_1BE54F
	msgbox Route119_Text_1BE561, 6
	end

Route119_EventScript_15144C:: @ 815144C
	trainerbattle 0, TRAINER_DONALD, 0, Route119_Text_1BE5A4, Route119_Text_1BE5DF
	msgbox Route119_Text_1BE5F8, 6
	end

Route119_EventScript_151463:: @ 8151463
	trainerbattle 0, TRAINER_TAYLOR, 0, Route119_Text_1BE632, Route119_Text_1BE67B
	msgbox Route119_Text_1BE695, 6
	end

Route119_EventScript_15147A:: @ 815147A
	trainerbattle 0, TRAINER_DOUG, 0, Route119_Text_1BE6EA, Route119_Text_1BE729
	msgbox Route119_Text_1BE748, 6
	end

Route119_EventScript_151491:: @ 8151491
	trainerbattle 0, TRAINER_GREG, 0, Route119_Text_1BE784, Route119_Text_1BE7D3
	msgbox Route119_Text_1BE7E9, 6
	end

Route119_EventScript_1514A8:: @ 81514A8
	trainerbattle 0, TRAINER_KENT, 0, Route119_Text_1BE82F, Route119_Text_1BE88D
	msgbox Route119_Text_1BE89A, 6
	end

Route119_EventScript_1514BF:: @ 81514BF
	trainerbattle 0, TRAINER_JACKSON_1, 0, Route119_Text_1BE8BB, Route119_Text_1BE90E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare VAR_RESULT, 1
	goto_if_eq Route119_EventScript_1514E6
	msgbox Route119_Text_1BE937, 6
	end

Route119_EventScript_1514E6:: @ 81514E6
	trainerbattle 5, TRAINER_JACKSON_1, 0, Route119_Text_1BE98D, Route119_Text_1BE9D0
	msgbox Route119_Text_1BE9E8, 6
	end

Route119_EventScript_1514FD:: @ 81514FD
	trainerbattle 0, TRAINER_CATHERINE_1, 0, Route119_Text_1BEA3A, Route119_Text_1BEA88
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare VAR_RESULT, 1
	goto_if_eq Route119_EventScript_151524
	msgbox Route119_Text_1BEAB3, 6
	end

Route119_EventScript_151524:: @ 8151524
	trainerbattle 5, TRAINER_CATHERINE_1, 0, Route119_Text_1BEB22, Route119_Text_1BEB49
	msgbox Route119_Text_1BEB68, 6
	end

Route119_EventScript_15153B:: @ 815153B
	trainerbattle 0, TRAINER_HUGH, 0, Route119_Text_1BEBC0, Route119_Text_1BEC1C
	msgbox Route119_Text_1BEC2A, 6
	end

Route119_EventScript_151552:: @ 8151552
	trainerbattle 0, TRAINER_PHIL, 0, Route119_Text_1BEC5E, Route119_Text_1BEC9A
	msgbox Route119_Text_1BECB1, 6
	end

Route119_EventScript_151569:: @ 8151569
	trainerbattle 0, TRAINER_YASU, 0, Route119_Text_1BECF1, Route119_Text_1BED4C
	msgbox Route119_Text_1BED5C, 6
	end

Route119_EventScript_151580:: @ 8151580
	trainerbattle 0, TRAINER_TAKASHI, 0, Route119_Text_1BEDB6, Route119_Text_1BEDEC
	msgbox Route119_Text_1BEE06, 6
	end

Route119_EventScript_151597:: @ 8151597
	trainerbattle 0, TRAINER_HIDEO_2, 0, Route119_Text_1BEE2D, Route119_Text_1BEE4B
	msgbox Route119_Text_1BEE66, 6
	end

Route119_EventScript_1515AE:: @ 81515AE
	trainerbattle 0, TRAINER_EUGENE, 0, Route119_Text_1BEED0, Route119_Text_1BEF37
	msgbox Route119_Text_1BEF67, 6
	end

Route119_EventScript_1515C5:: @ 81515C5
	lock
	faceplayer
	msgbox Route119_Text_171520, 4
	closemessage
	applymovement VAR_LAST_TALKED, Route119_Movement_1A083D
	waitmovement 0
	release
	end

Route119_EventScript_1515DC:: @ 81515DC
	lock
	faceplayer
	msgbox Route119_Text_17157C, 4
	closemessage
	applymovement VAR_LAST_TALKED, Route119_Movement_1A083D
	waitmovement 0
	release
	end

Route119_EventScript_1515F3:: @ 81515F3
	msgbox Route119_Text_1715D7, 2
	end

Route119_EventScript_1515FC:: @ 81515FC
	msgbox Route119_Text_1716F4, 2
	end

Route119_EventScript_151605:: @ 8151605
	msgbox Route119_Text_171774, 3
	end
